package com.panopset.sf.apps;

import java.math.BigDecimal;

import com.panopset.sf.FontManager;

public class ProportionalFontSizeMatch {

    FontManager fontManager = FontManager.getInstance();

    public BigDecimal getRatio() {
        switch (fontManager.getRatio()) {
        case 1:
            return new BigDecimal("0.5");
        case 2:
            return BigDecimal.ONE;
        case 3:
            return new BigDecimal("1.5");
        case 4:
            return new BigDecimal("2.0");
        case 5:
            return new BigDecimal("3.0");
        case 6:
            return new BigDecimal("5.0");
        }
        return BigDecimal.ONE;
    }

}
